Message input and display method and apparatus, electronic device and readable storage medium

ABSTRACT

Disclosed are a message input and display method, apparatus, electronic device, and readable storage medium. The message input method may comprise: displaying a session interface corresponding to a communication session; in a normal input mode, displaying a communication message in a first sub-area of a content display area of the session interface, and displaying a message input interface in a second sub-area; and in a full-screen input mode, displaying the message input interface in the content display area.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation application of theInternational Patent Application No. PCT/CN2020/078526, filed on Mar.10, 2020 and entitled “MESSAGE INPUT AND DISPLAY METHOD AND APPARATUS,ELECTRONIC DEVICE AND READABLE STORAGE MEDIUM,” which claims priority toChinese Patent Application No. 201910204530.0, filed on Mar. 18, 2019and entitled “MESSAGE INPUT AND DISPLAY METHOD AND APPARATUS, ELECTRONICDEVICE AND READABLE STORAGE MEDIUM.” The entire contents of all of theabove applications are incorporated herein by reference in theirentirety.

TECHNICAL FIELD

One or more embodiments of this specification relate to the field ofcommunication technologies, and in particular, to a message input anddisplay method, apparatus, electronic device, and readable storagemedium.

BACKGROUND

In the related art, users may implement message receiving and sending byusing a communication application. For example, the communicationapplication may be an instant messaging application or an enterpriseinstant messaging application, to implement efficient communicationbetween users. The communication application may support a plurality ofcommunication forms. For example, a single chat session is establishedbetween one user and another user, to implement one-to-one communicationbetween the users, or a group is established among a plurality of users,and a group chat session is established based on the group, to implementmulti-party communication among the plurality of users.

SUMMARY

In view of this, one or more embodiments of this specification provide amessage input and display method, apparatus, electronic device, andreadable storage medium.

To achieve the foregoing objective, one or more embodiments of thisspecification provide the following technical solutions.

According to a first aspect of the one or more embodiments of thisspecification, a message input method is provided, including: displayinga session interface corresponding to a communication session; in anormal input mode, displaying a communication message in a firstsub-area of a content display area of the session interface, anddisplaying a message input interface in a second sub-area; and in afull-screen input mode, displaying the message input interface in thecontent display area.

According to a second aspect of the one or more embodiments of thisspecification, a message display method is provided, including:obtaining a communication message generated in a communication session;when the communication message is a communication message in a normalformat, invoking a normal processing module to parse the communicationmessage; when the communication message is a communication message in aspecial format, invoking an advanced processing module to parse thecommunication message; and displaying message content obtained throughparsing in a session interface corresponding to the communicationsession.

According to a third aspect of the one or more embodiments of thisspecification, a message input apparatus is provided, including: aninterface display unit, configured to display a session interfacecorresponding to a communication session; a first display unit,configured to: in a normal input mode, display a communication messagein a first sub-area of a content display area of the session interface,and display a message input interface in a second sub-area; and a seconddisplay unit, configured to: in a full-screen input mode, display themessage input interface in the content display area.

According to a fourth aspect of the one or more embodiments of thisspecification, a message display apparatus is provided, including: anobtaining unit, configured to obtain a communication message generatedin a communication session; a first invoking unit, configured to: whenthe communication message is a communication message in a normal format,invoke a normal processing module to parse the communication message; asecond invoking unit, configured to: when the communication message is acommunication message in a special format, invoke an advanced processingmodule to parse the communication message; and a display unit,configured to display message content obtained through parsing in asession interface corresponding to the communication session.

According to a fifth aspect of the one or more embodiments of thisspecification, an electronic device is provided, including: a processor;and a memory configured to store instructions executable by theprocessor, where the processor executes the executable instructions toimplement the method according to the first aspect.

According to a sixth aspect of the one or more embodiments of thisspecification, a computer-readable storage medium is provided, storingcomputer instructions, where when the instructions are executed by aprocessor, steps of the method according to the first aspect areimplemented.

According to a seventh aspect of the one or more embodiments of thisspecification, an electronic device is provided, including: a processor;and a memory configured to store instructions executable by theprocessor, where the processor executes the executable instructions toimplement the method according to the second aspect.

According to an eighth aspect of the one or more embodiments of thisspecification, a computer-readable storage medium is provided, storingcomputer instructions, where when the instructions are executed by aprocessor, steps of the method according to the second aspect areimplemented.

In some embodiments, a message input method includes: displaying, by aclient, a session interface corresponding to a communication session; ina normal input mode, displaying, by the client, a communication messagein a first sub-area of a content display area of the session interface,and displaying a message input interface in a second sub-area of thecontent display area of the session interface; monitoring, by theclient, a message content being inputted by a user at the sessioninterface; in response to determining an amount of the message contentexceeding a threshold, switching, by the client, from the normal inputmode to a full-screen input mode; and in the full-screen input mode,expanding, by the client, the display of the message input interface tothe content display area entirely.

In some embodiments, one or more non-transitory computer-readablestorage media stores instructions executable by one or more processors,wherein execution of the instructions causes the one or more processorsto perform operations comprising: displaying a session interfacecorresponding to a communication session; in a normal input mode,displaying a communication message in a first sub-area of a contentdisplay area of the session interface, and displaying a message inputinterface in a second sub-area of the content display area of thesession interface; monitoring a message content being inputted by a userat the session interface; in response to determining an amount of themessage content exceeding a threshold, switching from the normal inputmode to a full-screen input mode; and in the full-screen input mode,expanding the display of the message input interface to the contentdisplay area entirely.

In some embodiments, a system comprises one or more processors and oneor more non-transitory computer-readable memories coupled to the one ormore processors and configured with instructions executable by the oneor more processors to cause the system to perform operations comprising:displaying a session interface corresponding to a communication session;in a normal input mode, displaying a communication message in a firstsub-area of a content display area of the session interface, anddisplaying a message input interface in a second sub-area of the contentdisplay area of the session interface; monitoring a message contentbeing inputted by a user at the session interface; in response todetermining an amount of the message content exceeding a threshold,switching from the normal input mode to a full-screen input mode; and inthe full-screen input mode, expanding the display of the message inputinterface to the content display area entirely.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic architectural diagram of a communication system,according to an exemplary embodiment;

FIG. 2 is a flowchart of a message input method, according to anexemplary embodiment;

FIG. 3 is a flowchart of a message display method, according to anexemplary embodiment;

FIG. 4 is a schematic diagram of a session interface, according to anexemplary embodiment;

FIG. 5 is a schematic diagram of switching from a normal input mode to afull-screen input mode, according to an exemplary embodiment;

FIG. 6 is another schematic diagram of switching from a normal inputmode to a full-screen input mode, according to an exemplary embodiment;

FIG. 7 is still another schematic diagram of switching from a normalinput mode to a full-screen input mode, according to an exemplaryembodiment;

FIG. 8 is a schematic diagram of a session interface in a full-screeninput mode, according to an exemplary embodiment;

FIG. 9 is a schematic diagram of displaying a sent message on a senderside, according to an exemplary embodiment;

FIG. 10 is a schematic diagram of displaying a received message on arecipient side, according to an exemplary embodiment;

FIG. 11 is a schematic diagram of a message content viewing interface,according to an exemplary embodiment;

FIG. 12 is a schematic structural diagram of a device, according to anexemplary embodiment;

FIG. 13 is a block diagram of a message input apparatus, according to anexemplary embodiment;

FIG. 14 is a schematic structural diagram of another device, accordingto an exemplary embodiment; and

FIG. 15 is a block diagram of a message display apparatus, according toan exemplary embodiment.

DETAILED DESCRIPTION

Exemplary embodiments are described in detail herein, and examples ofthe exemplary embodiments are shown in the accompanying drawings. Whenthe following description involves the accompanying drawings, unlessotherwise indicated, the same numerals in different accompanyingdrawings represent the same or similar elements. The implementationsdescribed in the following exemplary embodiments are not all theimplementations consistent with one or more embodiments of thisspecification, but are instead only examples of methods and apparatusesthat are described in detail in the appended claims and that areconsistent with some aspects of one or more embodiments of thisspecification.

In other embodiments, the steps of corresponding methods are notnecessarily performed according to a sequence shown and described inthis specification. In some other embodiments, the methods may includemore or fewer steps than those described in this specification. Inaddition, a single step described in this specification may be dividedinto a plurality of steps for description in other embodiments, and aplurality of steps described in this specification may be combined intoa single step for description in other embodiments.

FIG. 1 is a schematic architectural diagram of a communication system,according to an exemplary embodiment. As shown in FIG. 1, the system mayinclude a server 11, a network 12, and a plurality of electronic devicessuch as a mobile phone 13, a mobile phone 14, and a mobile phone 15.

The server 11 may be a physical server including an independent hostcomputer. Alternatively, the server 11 may be a virtual server carriedby a host computer cluster. During operations, the server 11 may run aprogram on a server side of an application, to implement a relatedservice function of the application. For example, when the server 11runs a program of a mobile group office platform, the server may beimplemented as a server end of the mobile group office platform. In thetechnical solutions of the one or more embodiments of thisspecification, the server 11 may cooperate with clients run on themobile phones 13 to 15 to implement receiving and sending oncommunication messages.

In this embodiment, the mobile group office platform may not onlyimplement a communication function, and may be also used as anintegrated function platform of many other functions, for example,processing of an internal event of a group such as a review and approvalevent (for example, review and approval events such as requesting timeoff, applying for office supplies, and financial affairs), an attendancechecking event, a task event, or a log event, or processing of anexternal event of the group such as ordering food or purchasing, whichis not limited in the one or more embodiments of this specification.

For example, the mobile group office platform may be carried on aninstant messaging application in the related technologies, for example,an enterprise instant messaging (EIM) application, such as Skype ForBusiness®, Microsoft Teams®, Yammer®, Workplace®, Slack®, WeCom®,FXiaoKe®, Fetion Enterprise®, or EasyChat Enterprise®. The instantmessaging function is merely one of the communication functionssupported by the mobile group office platform, and the mobile groupoffice platform may further implement many other functions describedabove, which are not repeatedly described herein.

The mobile phones 13 to 15 are merely one type of electronic devicesthat can be used by the user. The following types of electronic devicesmay also be used by the user apparently: a tablet device, a notebookcomputer, a personal digital assistant (PDA), a wearable device (such assmart glasses or a smartwatch), and the like. This is not limited in theone or more embodiments of this specification. During operations, theelectronic device may run a program on a client side of an application,to implement a related service function of the application. For example,when the electronic device runs a program of a mobile group officeplatform, the electronic device may be implemented as a client of themobile group office platform. For example, when a user A uses the mobilephone 13 and a user B uses the mobile phone 14, the user A may input andgenerate a communication message on the mobile phone 13, the mobilephone 13 may implement the message input solution of this specificationin this process, and the mobile phone 14 may receive and display thecommunication message generated by the mobile phone 13, for the mobilephone 14 to implement the message display solution of this specificationin this process.

In some embodiments, an application program of a client of the mobilegroup office platform may be pre-installed on the electronic device, forthe client to be started and run on the electronic device. When anonline “client” of a technology such as HTMLS is used, the client may beobtained and run without installing a corresponding application programon the electronic device.

The network 12 through which the mobile phones 13 to 15 and the server11 interact with each other may include a plurality of types of wired orwireless networks. In an embodiment, the network 12 may include a publicswitched telephone network (PSTN) and the Internet. In addition,electronic devices such as the mobile phones 13 to 15 may also implementcommunication interaction with each other through the network 12. Forexample, a single chat communication session is established between anytwo electronic devices, or a plurality of electronic devices mayparticipate in the same group chat communication session, for any userto send a communication message to all other users in the group chatcommunication session by using an electronic device of the user.

FIG. 2 is a flowchart of a message input method, according to anexemplary embodiment. As shown in FIG. 2, the method is applicable to anelectronic device (for example, the mobile phones 13 to 15 shown in FIG.1), and may include the following steps:

Step 202: Displaying a session interface corresponding to acommunication session.

In an embodiment, a client of an application is run on the electronicdevice, and the application includes a communication function. Theapplication may further include other functions in addition to thecommunication function, and this is not limited in this specification.For example, the application may be an instant messaging application, orthe application may be an enterprise instant messaging application.

In an embodiment, when the electronic device implements thecorresponding communication function by running the client of theapplication, a user of the electronic device may implement communicationbased on the communication function. For example, the user may implementcommunication by using a communication session on the client. Forexample, a user A and a user B may respectively use an electronicdevice, for a single chat communication session to be establishedbetween the user A and the user B. A session interface corresponding tothe communication session may be respectively presented on theelectronic device used by the user A and the electronic device used bythe user B, for a communication message to be inputted based on thesession interface and the communication message to be received and sent.

Step 204A: In a normal input mode, displaying a communication message ina first sub-area of a content display area of the session interface, anddisplaying a message input interface in a second sub-area.

Step 204B: In a full-screen input mode, displaying the message inputinterface in the content display area.

In an embodiment, in a normal input mode, a received or sentcommunication message and a message input interface may be displayed inthe session interface at the same time, for the user to implement aninput operation in the message input interface while viewing thecommunication message, for display of the communication message andimplementation of the input operation to be carried out at the same timewithout interfering with each other.

The screen size of an electronic device is limited, and in particular,the screen size of a mobile electronic device is relatively smaller. Themessage input interface in the normal input mode can only occupy a part(that is, the foregoing second sub-area) of a content display area ofthe session interface. A size of the message input interface istherefore relatively small, and generally only 3 to 5 lines of messagecontent can be displayed at the same time. When the user inputs arelatively large amount of message content, the message input interfacecan only generate a scroll bar, and the user needs to drag the scrollbar to view message content that is not shown. As a result, operationsare inconvenient, and a misoperation is likely to occur.

Therefore, when a user needs to input a relatively large amount ofmessage content, the user may switch the mode from the normal input modeto a full-screen input mode, for the message input interface to bedisplayed in the entire content display area. That is, a first size ofthe message input interface in the full-screen input mode is greaterthan a second size of the message input interface in the normal inputmode, for more message content to be displayed at the same time. In onecase, the content amount of message content of the user in thefull-screen input mode may be limited, to prevent the content amountfrom triggering a scroll bar. In another case, the content amount of themessage content is allowed to trigger a scroll bar, but the entirecontent display area is used for displaying the message input interface,making the size of the scroll bar in this case larger relative to thatin the normal input mode. Therefore, when a user operation is carriedout in the same condition, it is more convenient for the user to dragthe scroll bar, and a misoperation is less likely to occur.

In an embodiment, the message input interface in the normal input modemay display a preset amount of message content. When the message contentinputted by the user does not exceed the preset amount, the normal inputmode may be kept; and when the message content exceeds the presetamount, the mode may be automatically switched to the full-screen inputmode, to avoid showing a scroll bar. After a communication message issent, the normal input mode may be automatically restored from thefull-screen input mode, or may be restored by the user through manualswitching.

In some embodiments, a message input method may be performed by a clientand may include displaying a session interface corresponding to acommunication session; in a normal input mode, displaying acommunication message in a first sub-area of a content display area ofthe session interface, and displaying a message input interface in asecond sub-area of the content display area of the session interface;monitoring a message content being inputted by a user (e.g., a length ofa message being inputted) at the session interface; in response todetermining an amount of the message content exceeding a threshold,switching from the normal input mode to a full-screen input mode; and inthe full-screen input mode, expanding the display of the message inputinterface to the content display area entirely. When the switch takesplace, the inputted portion of the message content may remain in themessage input interface for the user to finish the rest of the messageafter the switch and before the message input is finished and themessage is sent. In one embodiment, the expanding step may be performedthrough invoking an advanced processing module of the client. Expandingthe display of the message input interface to the content display areaentirely may include merging the first sub-area into the secondsub-area, and converting the first sub-area for displaying the messageinput interface. Thus, expanding the display of the message inputinterface may take up the entire content display area, such that thesize of the message input interface in the full-screen input mode is thesize of the content display area.

In an embodiment, the message input interface in the normal input modemay display a preset amount of message content. When the message contentinputted by the user does not exceed the preset amount, the normal inputmode may be kept; and when the message content exceeds the presetamount, the normal input mode is still kept, and a switching option forswitching to the full-screen input mode is shown to the user, for theuser to actively choose whether to switch to the full-screen input mode.After a communication message is sent, the normal input mode may beautomatically restored from the full-screen input mode, or may berestored by the user through manual switching.

In an embodiment, the electronic device can show the switching optionbetween the normal input mode and the full-screen input mode all thetime, for the user to perform switching as required at any time withoutconsidering a content amount of the inputted message content.

In an embodiment, the electronic device is configured as a client, andthe client may include a normal processing module and an advancedprocessing module, which are respectively configured to implement thenormal input mode and the full-screen input mode. Therefore, the clientmay invoke the normal processing module to generate the message inputinterface in the normal input mode and display the message inputinterface in the second sub-area; and the client may invoke the advancedprocessing module to generate the message input interface in thefull-screen input mode and display the message input interface in thecontent display area.

In an embodiment, in addition to the size difference in the messageinput interface, the client may provide differential editing functionsin the normal input mode and the full-screen input mode, to edit theinputted message content in the message input interface. For example, inthe normal input mode, a basic editing function is provided for theinputted content in the message input interface, and in the full-screeninput mode, the basic editing function and/or an extended editingfunction different from the basic editing function is provided for theinputted content in the message input interface. For example, the basicediting function may include cutting or deleting the message content oradjusting a font size of the message content; and the extended editingfunction may include adjusting a font, a color, a character spacing, aline spacing, and the like, which are not limited in this specification.In brief, the extended editing function can implement stronger editingfunctions relative to the basic editing function, to meet applicationrequirements of the user.

In an embodiment, the advanced processing module includes a documentediting module. In other words, in this specification, document editingfunctions provided by document editing tools such as Microsoft Word andWPS Word in the related technologies are developed into the documentediting module, and the document editing module is integrated in theclient run on the electronic device, for the user to edit messagecontent in a process of inputting the message content in the sessioninterface without editing the message content by using an additionaldocument editing tool and then copying the message content into themessage input interface. In addition, the document editing module isintegrated in the client. In this way, when the user receives acommunication message generated based on the advanced processing module,message content of the communication message may be directly displayedin the session interface, for the user to directly view the messagecontent. This is apparently more intuitive and convenient than using adocument format, obviates processes such as downloading a document,opening a document viewing tool/application, and the like, and isparticularly applicable to the mobile group office scenario.

In an embodiment, in the normal input mode, the client may generate acommunication message in a normal format according to inputted contentin the message input interface; and in the full-screen input mode, theclient may generate a communication message in a special formataccording to the inputted content in the message input interface.

In an embodiment, a difference between the communication message in thenormal format and the communication message in the special format merelylies in the manner that the message content is packaged, and elementsincluded in the message content may be consistent. For example, themessage content of the communication messages both includes text. Inanother embodiment, in addition to different packaging manners used,element types included in the communication message in the normal formatand in the communication message in the special format may also bedifferent. For the communication message in the normal format, that is,the communication message in the related technologies, the communicationmessage may include only a single type of elements, such as text,picture, video, audio, or document. The user can only input text(emoticons such as emoji may be further included) in the message inputinterface, and may select a picture (or a video, audio, or a document)additionally for transmission. However, the client may generatedifferent communication messages for the text and the picture, and sendthe communication messages respectively, for each communication messageto include only one type of elements eventually. The communicationmessage in the special format may include at least one of the followingelements: text, picture, video, audio, document, and the like. That is,the client may integrate a plurality of types of elements in the samecommunication message for transmission, and each communication messagemay include one or more types of elements eventually. In the full-screeninput mode, the inputted text and the selected non-text elements may bedisplayed in the message input interface according to a receivedarrangement instruction without generating communication messagesrespectively; and correspondingly, the client may arrange the inputtedcontent in the message input interface according to a receivedarrangement instruction.

In some embodiments, after a user sends a message through the client,the user may receive a reply (e.g., a different communication message)to the sent message in the same communication session. Accordingly, theclient may obtain the different communication message generated in thecommunication session. When the different communication message is in anormal format (corresponding to the normal input mode), the client mayinvoke a normal processing module to parse the different communicationmessage, or when the different communication message is in a specialformat (corresponding to the full-screen input mode), the client mayinvoking an advanced processing module to parse the differentcommunication message. That is, depending on whether the reply wasgenerated in the normal format or special format (that is, the inputmode of the reply), the client may process the reply differently. Thereply may be generated on a different client with similar components andfunctions as the client. Then, the client may display, in the sessioninterface corresponding to the communication session, message contentobtained through parsing the different communication message.

FIG. 3 is a flowchart of a message display method, according to anexemplary embodiment. As shown in FIG. 3, the method is applicable to anelectronic device (for example, the mobile phones 13 to 15 shown in FIG.1), and may include the following steps:

Step 302: Obtaining a communication message generated in a communicationsession.

In an embodiment, a client of an application is run on the electronicdevice, and the application includes a communication function. Theapplication may further include other functions in addition to thecommunication function, and this is not limited in this specification.For example, the application may be an instant messaging application, orthe application may be an enterprise instant messaging application.

In an embodiment, when the electronic device implements thecorresponding communication function by running the client of theapplication, a user of the electronic device may implement communicationbased on the communication function. For example, the user may implementcommunication by using a communication session on the client. Forexample, a user A and a user B may respectively use an electronicdevice, for a single chat communication session to be establishedbetween the user A and the user B. A session interface corresponding tothe communication session may be respectively presented on theelectronic device used by the user A and the electronic device used bythe user B, for a communication message to be inputted based on thesession interface and the communication message to be received and sent.

Step 304A: When the communication message is a communication message ina normal format, invoking a normal processing module to parse thecommunication message.

Step 304B: When the communication message is a communication message ina special format, invoking an advanced processing module to parse thecommunication message.

In an embodiment, a difference between the communication message in thenormal format and the communication message in the special format merelylies in the manner that the message content is packaged, and elementsincluded in the message content may be consistent, for example, themessage content of the communication messages both includes text. Inanother embodiment, in addition to different packaging manners used,element types included in the communication message in the normal formatand in the communication message in the special format may also bedifferent. For the communication message in the normal format, that is,the communication message in the related technologies, the communicationmessage may include only a single type of elements, such as text,picture, video, audio, or document. The user can only input text(emoticons such as emoji may be further included) in the message inputinterface, and may select a picture (or a video, audio, or a document)additionally for transmission. However, the client may generatedifferent communication messages for the text and the picture, and sendthe communication messages respectively, for each communication messageto include only one type of elements eventually. The communicationmessage in the special format may include at least one of the followingelements: text, picture, video, audio, document, and the like. That is,the client may integrate a plurality of types of elements in the samecommunication message for transmission, and each communication messagemay include one or more types of elements eventually. In the full-screeninput mode, inputted text and selected non-text elements may bedisplayed in the message input interface without generatingcommunication messages respectively; and correspondingly, the client mayarrange the inputted content in the message input interface according toa received arrangement instruction.

In an embodiment, the communication message in the normal format isgenerated by a sender in a normal input mode; and the communicationmessage in the special format is generated by the sender in afull-screen input mode.

In an embodiment, in a normal input mode, a received or sentcommunication message and a message input interface may be displayed inthe session interface at the same time, for the user to implement aninput operation in the message input interface while viewing thecommunication message, for display of the communication message andimplementation of the input operation to be carried out at the same timewithout interfering with each other.

The screen size of an electronic device is limited, and in particular,the screen size of a mobile electronic device is relatively smaller. Themessage input interface in the normal input mode can only occupy a part(that is, the foregoing second sub-area) of a content display area ofthe session interface. A size of the message input interface istherefore relatively small, and generally only 3 to 5 lines of messagecontent can be displayed at the same time. When the user inputs arelatively large amount of message content, the message input interfacecan only generate a scroll bar, and the user needs to drag the scrollbar to view message content that is not shown. As a result, operationsare inconvenient, and a misoperation is likely to occur.

Therefore, when a user needs to input a relatively large amount ofmessage content, the user may switch the mode from the normal input modeto a full-screen input mode, for the message input interface to bedisplayed in the entire content display area. That is, a first size ofthe message input interface in the full-screen input mode is greaterthan a second size of the message input interface in the normal inputmode, for more message content to be displayed at the same time. In onecase, the content amount of message content of the user in thefull-screen input mode may be limited, to prevent the content amountfrom triggering a scroll bar. In another case, the content amount of themessage content is allowed to trigger a scroll bar, but the entirecontent display area is used for displaying the message input interface,making the size of the scroll bar in this case larger relative to thatin the normal input mode. Therefore, when a user operation is carriedout in the same condition, it is more convenient for the user to dragthe scroll bar, and a misoperation is less likely to occur.

In an embodiment, the message input interface in the normal input modemay display a preset amount of message content. When the message contentinputted by the user does not exceed the preset amount, the normal inputmode may be kept; and when the message content exceeds the presetamount, the mode may be automatically switched to the full-screen inputmode, to avoid showing a scroll bar. After a communication message issent, the normal input mode may be automatically restored from thefull-screen input mode, or may be restored by the user through manualswitching.

In an embodiment, the message input interface in the normal input modemay display a preset amount of message content. When the message contentinputted by the user does not exceed the preset amount, the normal inputmode may be kept; and when the message content exceeds the presetamount, the normal input mode is still kept, and a switching option forswitching to the full-screen input mode is shown to the user, for theuser to actively choose whether to switch to the full-screen input mode.After a communication message is sent, the normal input mode may beautomatically restored from the full-screen input mode, or may berestored by the user through manual switching.

In an embodiment, the electronic device can show the switching optionbetween the normal input mode and the full-screen input mode all thetime, for the user to perform switching as required at any time withoutconsidering a content amount of the inputted message content.

In an embodiment, the electronic device is configured as a client, andthe client may include a normal processing module and an advancedprocessing module, which are respectively configured to implement thenormal input mode and the full-screen input mode. Therefore, the clientmay invoke the normal processing module to generate the message inputinterface in the normal input mode and display the message inputinterface in the second sub-area; and the client may invoke the advancedprocessing module to generate the message input interface in thefull-screen input mode and display the message input interface in thecontent display area.

In an embodiment, in addition to the size difference in the messageinput interface, the client may provide differential editing functionsin the normal input mode and the full-screen input mode, to edit theinputted message content in the message input interface. For example, inthe normal input mode, a basic editing function is provided for theinputted content in the message input interface, and in the full-screeninput mode, the basic editing function and/or an extended editingfunction different from the basic editing function is provided for theinputted content in the message input interface. For example, the basicediting function may include cutting or deleting the message content oradjusting a font size of the message content; and the extended editingfunction may include adjusting a font, a color, a character spacing, aline spacing, and the like, which are not limited in this specification.In brief, the extended editing function can implement stronger editingfunctions relative to the basic editing function, to meet applicationrequirements of the user.

In an embodiment, the advanced processing module includes a documentediting module. In other words, in this specification, document editingfunctions provided by document editing tools such as Microsoft Word andWPS Word in the related technologies are developed into the documentediting module, and the document editing module is integrated in theclient run on the electronic device, for the user to edit messagecontent in a process of inputting the message content in the sessioninterface without editing the message content by using an additionaldocument editing tool and then copying the message content into themessage input interface. In addition, the document editing module isintegrated in the client. In this way, when the user receives acommunication message generated based on the advanced processing module,message content of the communication message may be directly displayedin the session interface, for the user to directly view the messagecontent. This is apparently more intuitive and convenient than using adocument format, obviates processes such as downloading a document,opening a document viewing tool/application, and the like, and isparticularly applicable to the mobile group office scenario.

Step 306: Displaying message content obtained through parsing in asession interface corresponding to the communication session.

In an embodiment, for communication messages in different formats, theclient may invoke different modules respectively to parse thecommunication messages, and display the communication messages in thesame manner or similar manners after the parsing, without the userrealizing differences between the communication messages, which helpsthe user to receive consistent use experience.

For ease of understanding, technical solutions of the one or moreembodiments of this specification are described by using an enterpriseinstant messaging application T as an example.

FIG. 4 is a schematic diagram of a session interface, according to anexemplary embodiment. It is assumed that a client program of theapplication T is run on an electronic device used by a user Blake, andtherefore the electronic device is configured as a client 1 of theapplication T. Similarly, an electronic device used by a user Whyte maybe configured as a client 2 of the application T. In this case, the userBlake and the user Whyte may implement communication based on the client1 and the client 2. For example, the user Blake and the user Whyte mayestablish a single chat communication session, for the client 1 topresent a session interface 40 shown in FIG. 4 to the user Blake.

The session interface 40 may include a content display area 40A. Thecontent display area 40A may further include a first sub-area 401 and asecond sub-area 402. The first sub-area 401 is used for displayingcommunication messages generated between the user Blake and the userWhyte, and the second sub-area 402 is used for displaying a messageinput interface 403. In the session interface 40 shown in FIG. 4, inaddition to the content display area 40A, a keyboard display area 40B isfurther included. The keyboard display area 40B is used for displaying avirtual keyboard. When the user Blake triggers the message inputinterface 403, the session interface 40 includes the content displayarea 40A and the keyboard display area 40B shown in FIG. 4. When theuser Blake has not triggered the message input interface 403, thevirtual keyboard is in a hidden state, and the occupied area of thekeyboard display area 40B is included into the content display area 40A.

The session interface 40 shown in FIG. 4 is in a normal input mode, forthe content display area 40A to include both the first sub-area 401 andthe second sub-area 402. Therefore, the message input interface 403located in the second sub-area 402 only occupies a part of area of thecontent display area 40A. In the normal input mode, the size of themessage input interface 403 is relatively small, but it may beconvenient for the user Blake to view communication messages in thefirst sub-area 401 while making an input entry.

However, the message input interface 403 of a relatively small size canaccommodate relatively less message content, for example, generally mayinclude 3 to 5 lines of text, and more content may trigger a scroll barin the message input interface 403. In this case, the user Blake needsto drag the scroll bar to view other content in addition to the 3 to 5lines of content shown. Therefore, in a case that there is a relativelylarge amount of message content, for ease of viewing the context andadjusting the inputted message content, the user Blake intends toincrease the size of the message input interface 403, for the messageinput interface 403 to display more message content at the same time.

FIG. 5 is a schematic diagram of switching from a normal input mode to afull-screen input mode, according to an exemplary embodiment. When it isdetected that the user Blake has performed a preset operation such aslong press on a blank message input interface 403, a mode switchingoption 50 shown in FIG. 5 may pop up, for the user Blake to trigger themode switching option 50 to switch from the normal input mode to thefull-screen input mode, to increase the size of the message inputinterface 403. FIG. 6 is another schematic diagram of switching from anormal input mode to a full-screen input mode, according to an exemplaryembodiment. When it is detected that the user Blake has performed apreset operation such as long press on a message input interface 403with inputted content, a function menu 60 shown in FIG. 6 may pop up,and the function menu 60 includes a mode switching option 601, for theuser Blake to trigger the mode switching option 601 to switch from thenormal input mode to the full-screen input mode, to increase the size ofthe message input interface 403. FIG. 7 is still another schematicdiagram of switching from a normal input mode to a full-screen inputmode, according to an exemplary embodiment. When it is detected that theuser Blake has inputted a relatively large amount of content in themessage input interface 403, for example, 3 or more lines of content(for example, the message input interface 403 can display at most 3lines of content), a mode switching option 70 shown in FIG. 7 may bedisplayed, for the user Blake to trigger the mode switching option 70 toswitch from the normal input mode to the full-screen input mode, toincrease the size of the message input interface 403.

FIG. 8 is a schematic diagram of a session interface in a full-screeninput mode, according to an exemplary embodiment. As shown in FIG. 8, inthe full-screen input mode, the content display area 40A may becompletely used for displaying the message input interface 403, and nolonger display the communication messages in the first sub-area, for theuser Blake to implement message input in a relatively large area. Afterthe message input is completed and a corresponding communication messageis sent, the client 1 may automatically restore the default normal inputmode from the full-screen input mode, to wait for a next inputoperation. Alternatively, the session interface 40 may include a modeswitching option 80 shown in FIG. 8, for the user Blake to trigger themode switching option 80 to switch from the full-screen input mode tothe normal input mode, whereas the client 1 does not implement automaticmode switching.

In addition to the size difference in the message input interface 403,the client 1 may implement differential editing functions in thefull-screen input mode and in the normal input mode. For example, thenormal input mode is similar to a communication application in therelated technologies. The user Blake may input text in the message inputinterface 403, or select a picture, a video, audio, or a document bytriggering a mark “+” in the second sub-area. The client 1 may thengenerate corresponding communication messages respectively for the textin the message input interface 403 and the picture, the video, theaudio, or the document selected by the user Blake, to send thecommunication messages to the user Whyte. In this process, only the textcan appear in the message input interface 403, and the selected picture,video, audio, or document may not appear in the message input interface403, making it impossible for the user Blake to implement editing andarrangement of a plurality of elements between the text and the picture,the video, the audio, or the document. Correspondingly, the user Whytecan only receive the plurality of communication messages sent by theuser Blake respectively. Each communication message includes only thetext, the picture, the video, the audio, or the document and cannot forma piece of complete message content including a plurality of elements.

In the embodiment shown in FIG. 8, inputted text and selected picturesPIC1 to PIC4 of the user Blake may all be displayed in the message inputinterface 403, for the user Blake to respectively edit the text and thepictures, or arrange a sequence of the text and the pictures. Inaddition, the client 1 may generate a communication message for allcontent such as the text and the pictures included in the message inputinterface 403 and send the communication message to the user Whyte. Forexample, FIG. 9 is a schematic diagram of displaying a sent message on asender side, according to an exemplary embodiment, which includes a sentcommunication message 90 displayed by the client 1. FIG. 10 is aschematic diagram of displaying a received message on a recipient side,according to an exemplary embodiment, which includes a receivedcommunication message 1001 displayed by the client 2 in a sessioninterface 1000.

As can be seen from FIG. 9 and FIG. 10, a communication messagegenerated in the full-screen input mode and a communication messagegenerated in the normal input mode have similar representation formats.Each communication message may be directly presented in a correspondingsession interface. In this way, as a recipient, a difference between theinput modes may not result in a significant difference to the user Whytein a process of reading the message, for the user Whyte to receiveconsistent use experience. An existing difference lies in that: asdescribed above, the full-screen input mode can implement editing andarrangement of a plurality of elements, a communication message isgenerated for all elements in the message input interface 403, for theuser Whyte to view message content such as text and pictures altogetherin the communication message 1001. In addition, the message content maybe particularly arranged, for the user Whyte to conveniently view andunderstand the message content.

In some embodiments, if the communication message sent by the user Blakehas an excessive amount of message content, only a part of messagecontent is shown. For example, the communication message 90 shown inFIG. 9 or the communication message 1001 shown in FIG. 10 only shows apart of text and pictures, and all the message content can be viewed bytriggering an option “View more”. Using FIG. 10 as an example, when theuser Whyte triggers the option “View more”, the client 2 may switch to amessage content viewing interface 1100 shown in FIG. 11, and the messagecontent viewing interface 1100 is used for displaying all content of thecommunication message 1001. Further, the user Whyte may further processthe displayed message content by using an operation menu 1101 includedin the message content viewing interface 1100. For example, an option“DING” is used for generating a prompt message, and content of theprompt message is the foregoing message content. An option “Copy” isused for copying the foregoing message content. An option “Forward” isused for forwarding the foregoing message content. An option “Reply” isused for making a reply in response to the foregoing message content,and generating a communication message related to the message contentfor a reply message and returning the communication message to the userBlake. An option “Task” is used for generating a task event, and contentof the task event is the foregoing message content.

In some embodiments, the client 1 (a case of the client 2 is similar)may include a normal processing module and an advanced processingmodule. The user Blake may use a basic editing function provided by thenormal processing module in the normal input mode, and use an extendedediting function provided by the advanced processing module in thefull-screen input mode (the advanced processing module may also includethe basic editing function; or the normal processing module and theadvanced processing module may be used in the full-screen input mode atthe same time). In addition, for inputted content formed by the userBlake in the message input interface 403, the client 1 may generate acommunication message in a normal format in the normal input mode orgenerate a communication message in a special format in the full-screeninput mode. In this way, after receiving a corresponding communicationmessage, the client 2 may parse the communication message in the normalformat by using the normal processing module or parse the communicationmessage in the special format by using the advanced processing module topresent the communication message as the communication message 1001shown in FIG. 10.

The client 2 used by the user Whyte may not include the advancedprocessing module due to an excessively low version. In this case, thecommunication message in the special format may fail to be correctlyparsed. The user Whyte needs to upgrade the version of the client 2 toobtain the advanced processing module, so as to parse the communicationmessage in the special format and then display message content obtainedthrough parsing.

FIG. 12 is a schematic structural diagram of a device, according to anexemplary embodiment. Referring to FIG. 12, at a hardware level, thedevice includes a processor 1202, an internal bus 1204, a networkinterface 1206, an internal memory 1208, and a non-volatile memory 1210,and may further include hardware required for other services. Theprocessor 1202 reads a corresponding computer program from thenon-volatile memory 1210 into the internal memory 1208 and then executesthe computer program, to form a message input apparatus at a logiclevel. In addition to a software implementation, one or more embodimentsof this specification do not exclude other implementations, for example,logic devices or a software-hardware combination. That is, executionbodies of the following processing procedures are not limited to logicunits and may alternatively be hardware or logic devices.

Referring to FIG. 13, in a software implementation, the message inputapparatus may include: an interface display unit 1301, configured todisplay a session interface corresponding to a communication session; afirst display unit 1302, configured to: in a normal input mode, displaya communication message in a first sub-area of a content display area ofthe session interface, and display a message input interface in a secondsub-area; and a second display unit 1303, configured to: in afull-screen input mode, display the message input interface in thecontent display area.

Optionally, a first size of the message input interface in thefull-screen input mode is greater than a second size of the messageinput interface in the normal input mode.

Optionally, the first display unit 1302 is configured to invoke a normalprocessing module to generate and display the message input interface;and the second display unit 1303 is configured to invoke an advancedprocessing module to generate and display the message input interface.

Optionally, the advanced processing module includes a document editingmodule.

Optionally, the apparatus further includes: a first providing unit 1304,configured to: in the normal input mode, provide a basic editingfunction for inputted content in the message input interface; and asecond providing unit 1305, configured to: in the full-screen inputmode, provide the basic editing function and/or an extended editingfunction different from the basic editing function for the inputtedcontent in the message input interface.

Optionally, the apparatus further includes: a first generation unit1306, configured to: in the normal input mode, generate a communicationmessage in a normal format according to inputted content in the messageinput interface; and a second generation unit 1307, configured to: inthe full-screen input mode, generate a communication message in aspecial format according to the inputted content in the message inputinterface.

Optionally, the communication message in the special format includes atleast one of the following elements: text, picture, video, audio, anddocument.

Optionally, the apparatus further includes: a third display unit 1308,configured to: in the full-screen input mode, display inputted text andselected non-text elements in the message input interface; and anarrangement unit 1309, configured to arrange inputted content in themessage input interface according to a received arrangement instruction.

FIG. 14 is a schematic structural diagram of a device, according to anexemplary embodiment. Referring to FIG. 14, at a hardware level, thedevice includes a processor 1402, an internal bus 1404, a networkinterface 1406, an internal memory 1408, and a non-volatile memory 1410,and may further include hardware required for other services. Theprocessor 1402 reads a corresponding computer program from thenon-volatile memory 1410 into the internal memory 1408 and then executesthe computer program, to form a message display apparatus at a logiclevel. In addition to a software implementation, one or more embodimentsof this specification do not exclude other implementations, for example,logic devices or a software-hardware combination. That is, executionbodies of the following processing procedures are not limited to logicunits and may alternatively be hardware or logic devices.

Referring to FIG. 15, in a software implementation, the message displayapparatus may include: an obtaining unit 1501, configured to obtain acommunication message generated in a communication session; a firstinvoking unit 1502, configured to: when the communication message is acommunication message in a normal format, invoke a normal processingmodule to parse the communication message; a second invoking unit 1503,configured to: when the communication message is a communication messagein a special format, invoke an advanced processing module to parse thecommunication message; and a display unit 1504, configured to displaymessage content obtained through parsing in a session interfacecorresponding to the communication session.

Optionally, the communication message in the normal format is generatedby a sender in a normal input mode; and the communication message in thespecial format is generated by the sender in a full-screen input mode.

The system, the apparatus, the module, or the unit described in theforegoing embodiments may be implemented by a computer chip or anentity, or implemented by a product having a certain function. A typicalimplementation device is a computer. A specific form of the computer maybe a personal computer, a laptop computer, a cellular phone, a cameraphone, a smartphone, a personal digital assistant, a media player, anavigation device, an email transceiver device, a game console, a tabletcomputer, a wearable device, or a combination of any devices of thesedevices.

In a typical configuration, the computer includes one or more processors(CPUs), an input/output interface, a network interface, and an internalmemory.

The internal memory may include a form such as a volatile memory, arandom access memory (RAM), and/or a non-volatile memory such as aread-only memory (ROM) or a flash memory (flash RAM) in acomputer-readable medium. The internal memory is an example of thecomputer-readable medium.

The computer-readable medium includes a non-volatile medium and avolatile medium, a removable medium and a non-removable medium, whichmay implement storage of information by using any method or technology.The information may be a computer-readable instruction, a datastructure, a program module, or other data. Examples of a storage mediumof a computer include, but are not limited to, a phase-change memory(PRAM), a static RAM (SRAM), a dynamic RAM (DRAM), a RAM of anothertype, a ROM, an electrically erasable programmable ROM (EEPROM), a flashmemory or another memory technology, a compact disc ROM (CD-ROM), adigital versatile disc (DVD) or another optical storage device, acassette tape, a magnetic disk storage, a quantum memory, agraphene-based storage medium or another magnetic storage device, or anyother non-transmission medium, which may be configured to storeinformation accessible by a computing device. Based on the definitionherein, the computer-readable medium does not include transitorycomputer-readable media (transitory media), such as a modulated datasignal and a carrier.

The terms “include,” “comprise,” or any variants thereof are intended tocover a non-exclusive inclusion. Therefore, a process, method, article,or device that includes a series of elements not only includes suchelements, but also includes other elements not specified expressly, ormay include inherent elements of the process, method, article, ordevice. Unless otherwise specified, an element limited by “include a/an. . . ” does not exclude other same elements existing in the process,the method, the article, or the device that includes the element.

Embodiments of this specification are described above. Other embodimentsfall within the scope of the appended claims. In some embodiments, theactions or steps recorded in the claims may be performed in sequencesdifferent from those in the embodiments and an expected result may stillbe achieved. In addition, the processes depicted in the accompanyingdrawings is not necessarily performed in the specific order orsuccessively to achieve an expected result. In some implementations,multitasking and parallel processing may be feasible or beneficial.

The terms used in one or more embodiments of this specification aremerely used to describe the embodiments but are not intended to limitthe one or more embodiments of this specification. The “a” and “the” ina singular form used in the one or more embodiments of thisspecification and the appended claims are also intended to include aplural form, unless other meanings are clearly indicated in the context.The term “and/or” used herein indicates and includes any or all possiblecombinations of one or more associated listed items.

Although the terms “first,” “second,” “third,” and the like may be usedto describe various information in the one or more embodiments of thisspecification, such information should not be limited to these terms.These terms are merely used to distinguish between information of thesame type. For example, without departing from the scope of the one ormore embodiments of this specification, first information may also bereferred to as second information. Similarly, second information mayalso be referred to as first information. Depending on the context, forexample, the word “if” used herein may be interpreted as “while” or“when,” or “in response to determining.”

The foregoing descriptions are merely preferred embodiments of the oneor more embodiments of this specification, but are not intended to limitthe one or more embodiments of this specification. Any modification,equivalent replacement, or improvement made within the spirit andprinciple of the one or more embodiments of this specification shallfall within the protection scope of the one or more embodiments of thisspecification.

What is claimed is:
 1. A message input method, comprising: displaying,by a client, a session interface corresponding to a communicationsession; in a normal input mode, displaying, by the client, acommunication message in a first sub-area of a content display area ofthe session interface, and displaying a message input interface in asecond sub-area of the content display area of the session interface;monitoring, by the client, a message content being inputted by a user atthe session interface; in response to determining an amount of themessage content exceeding a threshold, switching, by the client, fromthe normal input mode to a full-screen input mode; and in thefull-screen input mode, expanding, by the client, the display of themessage input interface to the content display area entirely.
 2. Themethod according to claim 1, wherein a size of the message inputinterface in the full-screen input mode is greater than a size of themessage input interface in the normal input mode, and the size of themessage input interface in the full-screen input mode is a size of thecontent display area.
 3. The method according to claim 1, wherein: thedisplaying a message input interface in a second sub-area comprises:invoking a normal processing module to generate and display the messageinput interface; and the expanding the display of the message inputinterface to the content display area entirely comprises: invoking anadvanced processing module to generate and display the message inputinterface.
 4. The method according to claim 1, wherein the expanding thedisplay of the message input interface to the content display areaentirely comprises: merging the first sub-area into the second sub-area;and converting the first sub-area for displaying the message inputinterface.
 5. The method according to claim 1, wherein the methodfurther comprises: in the normal input mode, providing a basic editingfunction for editing the message content in the message input interface;and in the full-screen input mode, providing the basic editing functionand an extended editing function different from the basic editingfunction for editing the message content in the message input interface.6. The method according to claim 1, wherein the method furthercomprises: in the normal input mode, generating a communication messagein a normal format according to the message content in the message inputinterface; and in the full-screen input mode, generating a communicationmessage in a special format according to the message content in themessage input interface.
 7. The method according to claim 6, wherein thecommunication message in the special format comprises at least one ofthe following elements: text, picture, video, audio, and document. 8.The method according to claim 1, wherein the method further comprises:in the full-screen input mode, displaying inputted text and selectednon-text elements in the message input interface; and arranging theinputted text and the text and the selected non-text elements in themessage input interface according to a received arrangement instruction.9. The method of claim 1, wherein the method further comprises:obtaining, by the client, a different communication message generated inthe communication session; when the different communication message isin a normal format, invoking, by the client, a normal processing moduleto parse the different communication message, or when the differentcommunication message is in a special format, invoking, by the client,an advanced processing module to parse the different communicationmessage; and displaying, in the session interface corresponding to thecommunication session, message content obtained through parsing thedifferent communication message.
 10. The method according to claim 9,wherein: the different communication message in the normal format wasgenerated in the normal input mode; and the different communicationmessage in the special format was generated in the full-screen inputmode.
 11. One or more non-transitory computer-readable storage mediastoring instructions executable by one or more processors, whereinexecution of the instructions causes the one or more processors toperform operations comprising: displaying a session interfacecorresponding to a communication session; in a normal input mode,displaying a communication message in a first sub-area of a contentdisplay area of the session interface, and displaying a message inputinterface in a second sub-area of the content display area of thesession interface; monitoring a message content being inputted by a userat the session interface; in response to determining an amount of themessage content exceeding a threshold, switching from the normal inputmode to a full-screen input mode; and in the full-screen input mode,expanding the display of the message input interface to the contentdisplay area entirely.
 12. The storage media according to claim 11,wherein a size of the message input interface in the full-screen inputmode is greater than a size of the message input interface in the normalinput mode, and the size of the message input interface in thefull-screen input mode is a size of the content display area.
 13. Thestorage media according to claim 11, wherein: the displaying a messageinput interface in a second sub-area comprises: invoking a normalprocessing module to generate and display the message input interface;and the expanding the display of the message input interface to thecontent display area entirely comprises: invoking an advanced processingmodule to generate and display the message input interface.
 14. Thestorage media according to claim 11, wherein the expanding the displayof the message input interface to the content display area entirelycomprises: merging the first sub-area into the second sub-area; andconverting the first sub-area for displaying the message inputinterface.
 15. The storage media according to claim 11, wherein theoperations further comprise: in the normal input mode, providing a basicediting function for editing the message content in the message inputinterface; and in the full-screen input mode, providing the basicediting function and an extended editing function different from thebasic editing function for editing the message content in the messageinput interface.
 16. The storage media according to claim 11, whereinthe operations further comprise: in the normal input mode, generating acommunication message in a normal format according to the messagecontent in the message input interface; and in the full-screen inputmode, generating a communication message in a special format accordingto the message content in the message input interface.
 17. The storagemedia according to claim 16, wherein the communication message in thespecial format comprises at least one of the following elements: text,picture, video, audio, and document.
 18. The storage media according toclaim 11, wherein the operations further comprise: in the full-screeninput mode, displaying inputted text and selected non-text elements inthe message input interface; and arranging the inputted text and thetext and the selected non-text elements in the message input interfaceaccording to a received arrangement instruction.
 19. The storage mediaof claim 11, wherein the operations further comprise: obtaining, by theclient, a different communication message generated in the communicationsession; when the different communication message is in a normal format,invoking, by the client, a normal processing module to parse thedifferent communication message, or when the different communicationmessage is in a special format, invoking, by the client, an advancedprocessing module to parse the different communication message; anddisplaying, in the session interface corresponding to the communicationsession, message content obtained through parsing the differentcommunication message.
 20. A system comprising one or more processorsand one or more non-transitory computer-readable memories coupled to theone or more processors and configured with instructions executable bythe one or more processors to cause the system to perform operationscomprising: displaying a session interface corresponding to acommunication session; in a normal input mode, displaying acommunication message in a first sub-area of a content display area ofthe session interface, and displaying a message input interface in asecond sub-area of the content display area of the session interface;monitoring a message content being inputted by a user at the sessioninterface; in response to determining an amount of the message contentexceeding a threshold, switching from the normal input mode to afull-screen input mode; and in the full-screen input mode, expanding thedisplay of the message input interface to the content display areaentirely.